package com.javatest.ajax.app3.dao;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2018/9/6 10:47
 */
public class DaoFactory {
    private static final IDepartmentDao departmentDao = new DepartmentDao();
    private static final IEmployeeDao employeeDao = new EmployeeDao();
    private static final ILocationDao locationDao = new LocationDao();

    public static IDepartmentDao getDepartmentDao() {
        return departmentDao;
    }

    public static ILocationDao getLocationDao() {
        return locationDao;
    }

    public static IEmployeeDao getEmployeeDao() {
        return employeeDao;
    }
}
